<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>  
    <body>
     	<p>Welcome <strong><sec:authentication property="principal.firstname"/> <sec:authentication property="principal.lastname"/></strong></p>
     	<form:form id="create" action="/pool/create" method="get">
     		<fieldset>
            <div><input type="submit" value="Create A Pool"/></div>
            </fieldset>
        </form:form>
        <br/>
        <form:form id="join" action="/pool/join" method="get">
        	<fieldset>
            <div><input type="submit" value="Join Existing Pool"/></div>
            </fieldset>
        </form:form>
 	<p>
     <a href="/landing/logout">Logout</a>.
     </p>
    </body>
 
</html>